package com.xuecheng.content.application.service.impl;

import com.xuecheng.content.application.service.CourseCategoryApplication;
import com.xuecheng.content.domain.model.dto.CourseCategoryTreeDto;
import com.xuecheng.content.domain.service.CourseCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-08-03  16:03
 */
@Service
public class CourseCategoryApplicationImpl implements CourseCategoryApplication {

    @Autowired
    private CourseCategoryService courseCategoryService;

    @Override
    public List<CourseCategoryTreeDto> queryTreeNodes(String id) {
        return courseCategoryService.queryTreeNodes(id);
    }
}
